home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pro Artisan 2
/
Pro Artisan 2.iso
/
xdemos
/
perform
/
_perf_info
next >
Wrap
Text File
|
1993-11-16
|
9KB
|
218 lines
###############################################################################
# The Perform application is the copyright of JO Linton and Clares Micro #
# Supplies 1991. It may be supplied to other users for personal use provided #
# that this documentation is not deleted. It may not be sold or supplied #
# commercially without permission from Clares (0606 48511). #
###############################################################################
!Perform
When you have built up a library of scores, you may wish to play a number of
them in sequence eg as movements of a sonata or tracks in an album. This can
be done using the application Perform which will play up to 12 Rhapsody or
MIDI files in sequence. Perform will also play samples such as those
produced by Armadeus. If you have a sampling board, you could announce each
track before it is played using this feature!
To hear the demonstration scores on this disc to best effect, either plug a
pair of stereo headphones into the socket in the back of the computer or,
better still, obtain a suitable lead and plug it into your HiFi. (You will
probably need a lead with 1 3.5 mm stereo jack on one end and a pair of
phono plugs on the other.)
In addition, Perform can load voice modules. This solves the problem of
having to have the right voices loaded before Rhapsody will play correctly.
All this is achieved by setting up a 'Programme' (ie a concert programme,
not a computer program!) which can be saved as a special file and reloaded
at any time. Items on the programme can easily be added, deleted and moved
around. The programme may then be played either once through or
continuously, and because Perform is a standard multi-tasking application,
other RISC OS applications may be run at the same time.
Starting and quitting Perform
Perform is a standard RISC OS application and is loaded by double clicking
on its icon in the usual way.
Clicking with the Menu button on the iconbar icon leads to the iconbar
menu...
Info
====
The first item on the menu gives access to some information about the
program.
Play
====
The second ('Play') is shaded because there is no current programme
available.
Panel
=====
The third choice opens a small panel which provides you with 5
'tape-recorder' style icons including play, pause, stop etc.
Quit
====
Choosing the 'Quit' option, by clicking on it with the Select button, stops
any playing that may be in progress and quits the program.
Setting up a programme
======================
To set up a completely new programme, click on the iconbar icon using the
Select button. This opens the main programme window. Alternatively, if you
have opened the panel, you can open the programme window by clicking on the
Perform icon in the far left of the Panel window.
Each piece on the programme has two (initially blank) boxes, the second of
which holds the filename of the piece to be played. To fill in this field,
open one or more directory displays which contain the scores you wish to
play and 'drag' the file icon into the appropriate box using the Select
button. When you release the mouse button the file name appears in the box
and its small filetype icon appears on the right.
(Note that although only the leaf name shows in the box, the full filename
is held by the programme. If the programme and its files are held on the
same disc then the names are stored relatively. In this case, if you copy
the programme and files to another disc and maintain the same relationship
between the files then the programme will run. If the files are not stored
on the same disc as the programme then the full pathnames, including filing
system and disc names, are stored. This means that you can construct
programmes with pieces from any combination of hard and floppy discs, with
the proviso that the score must be available when it is needed by the
program. However, if you move any of the files the programme will be unable
to find them. Note that dragging a file icon into the programme box does
not load the selected file. This happens later, only when it is needed.)
To rearrange the order of pieces, use the same technique - ie 'drag' the
filename from one box to another. If you use the Select button, the
filename is moved from one box to the other. If you use the Adjust button,
the filename is copied, leaving the original in place. Note that if you
drag a filename onto a box which already has a name, that name is
overwritten.
To delete a piece, 'drag' the filename onto the 'bin' icon at the top of the
window.
While you are constructing your program, you will notice that the first box
always contains a tick. This means that this piece is automatically flagged
for playing. If you want a performance to omit a certain piece (but not to
delete it from the programme entirely) toggle the tick on and off using the
Select button. The 'loudspeaker' icon is non functional, it is a reminder
of what this tick means.
Perform recognizes four types of file object:
1) Rhapsody 2 & 3files (filetype &C00)
2) Midi files (filetype &FD4)
3) Sample files (filetype &D3C) - (signed linear format)
4) Programme files (filetype &CB9)
In the last case, Perform will load and perform a whole new programme.
Effectively this means that Perform can perform an unlimited sequence of
pieces with, if you like, announcements in between!
Perform also accepts any other file and when its turn comes round it is
*RUN. This means that it can load new voices and execute obey files etc.
For example, if you need to load a voice module called OrchLib before a
piece, simply include the file in the list at the appropriate place. You
can also drag the !Voices application form Rhapsody II into Perform and it
will load the voices in the directory.
If you need to load several voice modules at once, a more efficient way
would be to list them all in an obey file, and then include the name of the
obey file in the programme.
Since Rhapsody version 1.20 (and above) now recognises voices by name rather
than by number, it does not matter in what order the voices are loaded. On
the other hand, you cannot load more than 32 voices at once. It is for this
reason that the !Perform directory contains a short utility called
'NoVoices' which removes all the voices from 10 to 32 (ie it leaves the
default voices of WaveSynth, StringLib and Percussion intact). It is a good
idea to include this utility at the head of any programme or obey file
which loads any new voices.
Saving a programme
==================
Click with the Menu button anywhere on the main programme window to open
the main menu.
Save
====
Moving over the save option leads to the Save window...
You can save your programme in the usual way either by entering a full
pathname and clicking on the OK icon or by dragging the file icon into a
directory viewer.
Options
=======
Before choosing the play option on the main menu, check the available
options by moving over the options item to the Options menu.
Most of these are the same as in Rhapsody. The only one which is different
is 'Continuous'. When this option is ticked, the programme repeats
continuously. Do not confuse this with the 'Repeats' option which enables
repeated sections within a piece to be played, or not as the case may be.
Options are saved along with the programme.
Play
====
When the options are set correctly, choose 'Play' from the main menu and
away you go. Note that MIDI files can only be played on a MIDI instrument.
If the MIDI option is not selected (or if a MIDI interface is not fitted)
then the MIDI files in the programme are ignored.
Skip
====
If, while a programme is being played, you wish to skip to the next item on
the programme, choose the 'Skip' option.
Stop play
=========
To stop playing at any time, open the main menu and choose the third item
which will now say 'Stop play'.
When appropriate, the 'Play' and 'Stop play' options appear in the iconbar
menu as well.
The Panel window
================
You can open the Panel window by choosing the appropriate option on the
iconbar menu.
As has been stated previously, clicking on the Perform icon at the far left
opens the main programme window. The other icons are, in order from left to
right:
1) Skip back to previous piece
2) Play from the start
3) Skip on to the next piece
4) Stop playing
5) Pause if playing (toggles on and off)
Playing Samples
===============
Perform will also play sampled sounds. It expects the sample to be in linear
signed format with the first byte indicating the sample rate in
micro-seconds. This is the format produced by Armadeus. The expected
filetype is &D3C.